package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.oldmanpointrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 老人积分记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class OldmanByPointRecordRespVO {


    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15969")
    private Long id;

    @Schema(description = "老人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "11346")
    private Long oldmanId;
    
    @Schema(description = "老人姓名", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "24814")
    private String name;

    @Schema(description = "老人积分", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "24814")
    private Integer point;

    @Schema(description = "年龄", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15969")
    private Integer age;
    
    @Schema(description = "性别 1男2女", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "15969")
    private Integer sex;

    @Schema(description = "业务编码", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "24814")
    private String bizId;

    @Schema(description = "业务类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "2")
    private Byte bizType;

    @Schema(description = "积分标题", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String title;

    @Schema(description = "积分描述", example = "你猜")
    private String description;

    @Schema(description = "变动后的积分", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Integer totalPoint;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private LocalDateTime createTime;

}
